libMyString.so : StdMystring.cpp
	g++ -shared -fPIC StdMystring.cpp -o libMyString.so


.PHYON:install clean all
install:
	sudo cp libMyString.so  /usr/lib
	sudo cp StdMystring.h  /usr/include
clean:
	rm -f libMyString.so
all:
	make
	make install
	make clean